package messaging.filters
{
	import com.firemoss.magicbus.messaging.fillter.ResponseFilter;

	public class StockPricesResponseFilter implements ResponseFilter
	{

		public function response( result : * ) : *
		{
			for each ( var stockObject : Object in ( result as Array ) )
			{
				stockObject.PRICE = Math.round( stockObject.PRICE )
			}
			
			return result
		}
		
	}
}